﻿using Architecture.Domian.Common;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Architecture.Domain.TraceabilityManage
{
    /// <summary>
    /// 深加工表
    /// </summary>
    [Table("DeepProcessing")]
    public class DeepProcessing : AuditInfo
    {
        /// <summary>
        /// 深加工Id
        /// </summary>
        [Key]
        public int DPId { get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>
        [StringLength(50)]
        public string? ProductionLot { get; set; }

        /// <summary>
        /// 班组
        /// </summary>
        [StringLength(50)]
        public string? TeamOrGroup { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        [StringLength(50)]
        public string? PersonInCharge { get; set; }

        /// <summary>
        /// 食品安全信息图片
        /// </summary>
        [StringLength(1000)]
        public string? FoodSafetyInformationPicture { get; set; }

        /// <summary>
        /// 深加工公司Id
        /// </summary>
        public int DeepProcessingCompany { get; set; }
    }
}
